package com.lean.android.localprovider

import androidx.compose.runtime.staticCompositionLocalOf
import androidx.core.app.ComponentActivity

val LocalActivity = staticCompositionLocalOf<ComponentActivity> {
    noLocalProvidedFor("LocalActivity")
}

private fun noLocalProvidedFor(name: String): Nothing {
    error("CompositionLocal $name not present")
}